<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>user</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" th:href="@{/css/style.css}" type="text/css">
</head>
<body>
    <table>
        <tr>
            <th>no</th>
            <th>loginName</th>
            <th>name</th>
            <th>password</th>
            <th>roleName</th>
            <th>tel</th>
        </tr>
        <tr th:each="list,stat : ${userList}">
            <td th:text="${stat.count}"></td>
            <td th:text="${list.loginName}"></td>
            <td th:text="${list.name}"></td>
            <td th:text="${list.password}"></td>
            <td th:text="${list.roleName}"></td>
            <td th:text="${list.tel}"></td>
        </tr>
    </table>
</body>
</html>